﻿using System.Runtime.Serialization;
using System.Xml.Serialization;

namespace Cubicle.Excel.Config
{
    [DataContract]
    public class CommandDescription : BaseDescription
    {
        public CommandDescription() {}
        public CommandDescription(
            string menuName,
            string menuText)
        {
            MenuName = menuName;
            MenuText = menuText;
        }

        [DataMember]
        [XmlAttribute("menuName")]
        public string MenuName { get; set; }

        [DataMember]
        [XmlAttribute("menuText")]
        public string MenuText { get; set; }

    }
}